package com.wcbtest.docker.domain.dto;

import com.github.dockerjava.api.model.Network;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DockerNetworkInfoDTO {
    @ApiModelProperty("Id")
    private String id;
    @ApiModelProperty("Name")
    private String name;
    @ApiModelProperty("Scope")
    private String scope;
    @ApiModelProperty("Driver")
    private String driver;
    @ApiModelProperty("EnableIPv6")
    private Boolean enableIPv6;
    @ApiModelProperty("Internal")
    private Boolean internal;
    @ApiModelProperty("IPAM")
    private Network.Ipam ipam;
    @ApiModelProperty("Containers")
    private Map<String, Network.ContainerNetworkConfig> containers;
    @ApiModelProperty("Options")
    private Map<String, String> options;
    @ApiModelProperty("Attachable")
    private Boolean attachable;
    @ApiModelProperty("Labels")
    public Map<String, String> labels;

}